﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 零件信息
    /// </summary>
    [SugarTable("cks_part")]
    [Table(Name ="cks_part")]
    public class CksPart : BaseEntity
    {
        /// <summary>
        /// 主键 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public int Id { get; set; }

        /// <summary>
        /// 零件类型 
        /// </summary>
        public int? PartType { get; set; }

        /// <summary>
        /// 零件名称 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 每框数量 
        /// </summary>
        public int BlueCount { get; set; }

        /// <summary>
        /// 每个产品需要的数量 
        /// </summary>
        public int SingleUsageCount { get; set; }

        /// <summary>
        /// 已清洗数量 
        /// </summary>
        public int CleaningQuantity { get; set; }

        /// <summary>
        /// 允许最大清洗数量 
        /// </summary>
        public int AllowMaxCleaningQuantity { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? Created { get; set; }

    

    }
}